//
//  MHCommonItemViewModel.m
// MiaoCircle
//
//Created by acgera on 2018/4/9.
//  Copyright © 2018年 acgera. All rights reserved.
//

#import "MHCommonItemViewModel.h"

@implementation MHCommonItemViewModel
+ (instancetype)itemViewModelWithTitle:(NSString *)title icon:(NSString *)icon{
    MHCommonItemViewModel *item = [[self alloc] init];
    item.title = title;
    item.icon = icon;
    item.selectionStyle = UITableViewCellSelectionStyleNone;
    return item;
}


+ (instancetype)itemViewModelWithTitle:(NSString *)title{
    return [self itemViewModelWithTitle:title icon:nil];
}

- (instancetype)init
{
    self = [super init];
    if (self) {
        _selectionStyle = UITableViewCellSelectionStyleGray;
        _rowHeight = 60.0f;
    }
    return self;
}
@end
